<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">

	<div class="wrapper wrapper-content ">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-content">
						<form class="form-horizontal m-t" id="signupForm">

<!--							<input type="hidden" name="type" id="types">-->

							<div class="form-group">
								<label class="col-sm-3 control-label">竞赛名称：</label>
								<div class="col-sm-8">
									<input id="name" name="name" placeholder="请输入竞赛名称" class="form-control" type="text">
								</div>
							</div>

							<div class="form-group">
								<label class="col-sm-3 control-label">竞赛方式：</label>
								<div class="col-sm-8">
									<select name="type" id="type" class="form-control">
										<option value="">请选择</option>
<!--										<option value="3">理论+实操</option>-->
										<option value="4">实操竞赛</option>
									</select>
								</div>
							</div>

							<div class="form-group">
								<label class="col-sm-3 control-label">选择批次：</label>
								<div class="col-sm-8">
									<input id="cbatchName" name="cbatchId" type="text" class="form-control" placeholder="请输入认证批次名称">
								</div>
							</div>

<!--							<div class="form-group">-->
<!--								<label class="col-sm-3 control-label">选择场次：</label>-->
<!--								<div class="col-sm-8">-->
<!--									<select name="timePeriod" id="" class="form-control">-->
<!--										<option value="">请选择</option>-->
<!--										<option value="T1">上午</option>-->
<!--										<option value="T2">下午</option>-->
<!--									</select>-->
<!--								</div>-->
<!--							</div>-->


							<div class="form-group" style="display: none">
								<label class="col-sm-3 control-label">请选择A赛场的裁判：</label>
								<div class="col-sm-8">
									<div id="refereeBBox" class="examjudge xm-select-demo" ></div>
									<input id="refereeB" value="1,2,3" name="refereeB" placeholder="请选择B赛场的裁判" class="form-control" type="hidden">
								</div>
							</div>

							<div class="form-group">
								<label class="col-sm-3 control-label">B赛场题一 ：</label>
								<div class="col-sm-8">
									<div id="b1race" class="xm-select-demo"></div>
									<input id="b1raceInput" name="b1race" placeholder="请选择B1赛场的配置信息" class="form-control course" type="hidden">
								</div>
							</div>

<!--							<div class="form-group">-->
<!--								<label class="col-sm-3 control-label">A赛场题二：</label>-->
<!--								<div class="col-sm-8">-->
<!--									<div id="b2race" class="xm-select-demo"></div>-->
<!--									<input id="b2raceInput" name="b2race" placeholder="请选择A2赛场的配置信息" class="form-control course" type="hidden">-->
<!--								</div>-->
<!--							</div>-->

							<div class="form-group" style="display: none">
								<label class="col-sm-3 control-label">请选择C赛场的裁判：</label>
								<div class="col-sm-8">
									<div id="refereeCBox" class="examjudge" data-exam="C" data-togg="refereeC" ></div>
									<input id="refereeC" value="1,2,3" name="refereeC" placeholder="请选择B赛场的裁判" class="form-control" type="hidden">
								</div>
							</div>

							<div class="form-group">
								<label class="col-sm-3 control-label">C赛场题一：</label>
								<div class="col-sm-8">
									<div id="c1race" class="xm-select-demo"></div>
									<input id="c1raceInput" name="c1race" placeholder="请选择C1赛场的配置信息" class="form-control course" type="hidden">
								</div>
							</div>

<!--							<div class="form-group">-->
<!--								<label class="col-sm-3 control-label">C赛场题二：</label>-->
<!--								<div class="col-sm-8">-->
<!--									<div id="c2race" class="xm-select-demo"></div>-->
<!--									<input id="c2raceInput" name="c2race" placeholder="请选择C2赛场的配置信息" class="form-control course" type="hidden">-->
<!--								</div>-->
<!--							</div>-->

<!--							<div class="form-group">-->
<!--								<label class="col-sm-3 control-label">C赛场题三：</label>-->
<!--								<div class="col-sm-8">-->
<!--									<div id="c3race" class="xm-select-demo"></div>-->
<!--									<input id="c3raceInput" name="c2race" placeholder="请选择C2赛场的配置信息" class="form-control course" type="hidden">-->
<!--								</div>-->
<!--							</div>-->

							<div class="form-group">
								<label class="col-sm-3 control-label">赛项编号：</label>
								<div class="col-sm-8">
									<input id="serial" name="serial" placeholder="请输入赛项编号" class="form-control" type="text">
								</div>
							</div>

							<div class="form-group">
								<label class="col-sm-3 control-label">竞赛开始时间：</label>
								<div class="col-sm-8">
									<input id="startTime" name="startTime" class="form-control" type="text" placeholder="请选择开始时间" autocomplete="off">
								</div>
							</div>

							<div class="form-group">
								<label class="col-sm-3 control-label">竞赛结束时间：</label>
								<div class="col-sm-8">
									<input id="endTime" name="endTime" class="form-control" type="text" placeholder="请选择结束时间" autocomplete="off">
								</div>
							</div>

							<div class="form-group">
								<div class="col-sm-8 col-sm-offset-3">
									<button type="button" onclick="save()" class="btn btn-primary">确定</button>
								</div>
							</div>

						</form>
					</div>
				</div>
			</div>
	</div>
	</div>
	<div th:include="include::footer"></div>
	<script type="text/javascript" src="/js/xmSelect.js"></script>
	<script type="text/javascript" src="/js/webJs/jzweb/examinationBatchCom/add.js">
	</script>
</body>
</html>
